package seis645;
import seis645.Address;

public class Dealership {

	private int cleanliness;
	private int supply;
	private Address location = new Address();
	private String name;
	private int friendliness;
	
	public int get_cleanliness() {
		return this.cleanliness;
	}
	
	public int get_supply() {
		return this.supply;
	}
	
	public Address get_location() {
		return this.location;
	}
	
	public String get_name() {
		return this.name;
	}
	
	public int get_friendliness() {
		return this.friendliness;
	}
	
	public void set_cleanliness(int clean) {
		this.cleanliness = clean;
	}
	
	public void set_supply(int supply) {
		this.supply = supply;
	}
	
	public void set_location(String street, String city, String state, int zipcode) {
		Address addr = new Address(street, city, state, zipcode);
		this.location = addr;
	}
	
	public void set_name(String name) {
		this.name = name;
	}
	
	public void set_friendliness(int friendliness) {
		this.friendliness = friendliness;
	}
	
	public Dealership() {
		this.cleanliness = 3;
		this.supply = 3;
		this.name = "default name";
		this.friendliness = 3;
	}
}
